# !/bin/bash

# func is a function name.
# it echos the values of variables and arguments.
# "先定义,后使用" 
# shell脚本与函数间的参数传递可利用'位置参数'和'变量'直接传递。
func()
{
	echo "Let's begin now."
	echo $a $b $c
	echo $1 $2 $3
	echo "The end."
}
a="Working directory."
b="Today is `date`."
c=`pwd`
func Welcome You Byby
echo "Today is `date`"
